package org.jeecg.modules.device.service;

import com.alibaba.fastjson.JSONObject;
import org.jeecg.modules.device.entity.DevDeviceRecord;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 设备记录表
 * @Author: jeecg-boot
 * @Date:   2024-04-17
 * @Version: V1.0
 */
public interface IDevDeviceRecordService extends IService<DevDeviceRecord> {

    /**
     * 获取设备实时数据- 设备ID
     * @param devId
     */
    public JSONObject getDeviceRecordById(String devId);

    /**
     * 获取设备实时数据 - 设备序列号
     * @param deviceId
     */
    public JSONObject getDeviceRecordByCode(String deviceId);
}
